//
//  CJLocationManager.h
//  DatangLife
//
//  Created by 陈建 on 2018/7/3.
//  Copyright © 2018年 DatangLife. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <CoreLocation/CoreLocation.h>


typedef void(^CJLocationManagerDidUpdateLocationHandle)(CLPlacemark *placemark, NSString *newLatitude, NSString *newLongitude);

@interface CJLocationManager : NSObject

/** 开始定位*/
- (void)startSerialLocation;

+ (instancetype)sharedManager;

/** 更新定位回调*/
- (void)setUpLocationManagerUpdateLocationHandle:(CJLocationManagerDidUpdateLocationHandle)updateLocationHandle;

/** 是否可以定位*/
@property (nonatomic, assign) BOOL canLocationFlag;

/** 是否有经纬度*/
@property (nonatomic, assign) BOOL hasLocation;
@end
